import request from "@/apis/request";

export const findFeedback = async (form) => {
    return await request.get('/api/feedback/list', {params: form})
}

export const AddFeedback = async (form) => {
    return await request.post('/api/feedback/add', form)
}
export const deleteFeedback = async (id) => {
    return await request.delete('/api/feedback/delete', {data: id})
}
export const updateFeedback = async (form) => {
    return await request.put('/api/feedback/update', form)
}